package org.wang.generalcode.modules.sys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 代码生成基础配置表实体类
 *
 * @author wz
 * @since 2024-08-08
 */
@Data
@Schema(description = "代码生成基础配置表")
@TableName("gen_config")
public class GenConfig implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	* 表名
	*/
	@Schema(description = "表名")
	private String tableName;
	/**
	* 模块名
	*/
	@Schema(description = "模块名")
	private String moduleName;
	/**
	* 包名
	*/
	@Schema(description = "包名")
	private String packageName;
	/**
	* 业务名
	*/
	@Schema(description = "业务名")
	private String businessName;
	/**
	* 实体类名
	*/
	@Schema(description = "实体类名")
	private String entityName;
	/**
	* 作者
	*/
	@Schema(description = "作者")
	private String author;
	/**
	* 上级菜单ID，对应sys_menu的id 
	*/
	@Schema(description = "上级菜单ID，对应sys_menu的id ")
	private Long parentMenuId;
	/**
	* 创建时间
	*/
	@Schema(description = "创建时间")
	private LocalDateTime createTime;
	/**
	* 更新时间
	*/
	@Schema(description = "更新时间")
	private LocalDateTime updateTime;


}
